import { ModuleWithProviders, NgModule } from '@angular/core';
import { EXTEND_ROUTE_PROVIDERS } from './providers/route.provider';

@NgModule()
export class ExtendConfigModule {
  static forRoot(): ModuleWithProviders<ExtendConfigModule> {
    return {
      ngModule: ExtendConfigModule,
      providers: [EXTEND_ROUTE_PROVIDERS],
    };
  }
}
